package query

import (
    "ginweb/internal/domain/order"
)

type OrderService struct {
    repo order.OrderRepository
}

func NewOrderService(repo order.OrderRepository) *OrderService {
    return &OrderService{repo: repo}
}

func (s *OrderService) GetOrder(id string) (*order.Order, error) {
    return s.repo.GetOrder(id)
}